﻿namespace Traffic.Entity;

/// <summary>
/// 机器表
/// </summary>
public partial class Machine
{
    public int Id { get; set; }

    /// <summary>
    /// 机器ID
    /// </summary>
    public string MacId { get; set; } = null!;

    /// <summary>
    /// 机器码
    /// </summary>
    public string MacCode { get; set; } = null!;

    /// <summary>
    /// 令牌
    /// </summary>
    public string Token { get; set; } = null!;

    /// <summary>
    /// 终端密码  用于重置票号
    /// </summary>
    public string Password { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 可用开始时间
    /// </summary>
    public DateTime? AbleDate { get; set; }

    /// <summary>
    /// 停用时间
    /// </summary>
    public DateTime? InvalidDate { get; set; }

    /// <summary>
    /// 机器状态  0：停用  1：正常
    /// </summary>
    public int Status { get; set; }
}
